
<?php if($template->get('aProducts'))
{
    foreach($template->get('aProducts') as $aProduct)
    {
        echo '<li>';
        echo '<div class="quick_search_avatar"><img src="'.URL::getLink('upload/'.$aProduct['image']).'"></div>';
        echo '<p class="item_quick_title"><a href="'.$aProduct['uri'].'">'.$aProduct['name'].'</a></p>';
        echo '<p class="item_quick_user">Đăng bởi <strong><a href="'.$aProduct['userUri'].'">'.$aProduct['userName'].'</a></strong></p>';
        echo '<p class="item_quick_price">Giá '.$aProduct['price'].' VNĐ</p>';
        echo '</li>';
    }
} 
?>
    